package com.gym.openapi.dao;

import com.gym.openapi.entity.ApiMapping;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 *@author:ming
 *@Date: 2021/11/26
 *@description:路由管理
 */
public interface ApiMappingMapper {
    /**
     *@author:ming
     *@Date: 2021/11/26
     *@description:界面显示
     */
    List<ApiMapping> apiTable(@Param("gatewayApiName") String gatewayApiName,@Param("state") Byte state);
    /**
     *@author:ming
     *@Date: 2021/11/26
     *@description:批量删除
     */
    int del(Integer[] ids);



    int deleteByPrimaryKey(Integer id);

    int insert(ApiMapping record);

    int insertSelective(ApiMapping record);

    ApiMapping selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ApiMapping record);

    int updateByPrimaryKey(ApiMapping record);
}